import React from 'react';
import Login from './views/Login'
import {Route,HashRouter as Router,Switch} from 'react-router-dom'
import MainContainer from './views/MainContainer'
import Register from './views/Register'
import Cart from './views/Cart'
function App() {
  return (
    <div >
      <Router>
        <Switch>
          <Route path="/cart" component={Cart} />
          <Route path="/login" component={Login} />
          <Route path="/register" component={Register} />
          
          <Route path="/" component={MainContainer}/>
        </Switch>
      </Router>

    </div>
  );
}

export default App;
